home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / July 96 / Re .3 < prev    next >
Encoding:
Internet Message Format  |  1996-07-25  |  1.5 KB  |  [TEXT/ttxt]

  1. Subject:     Re: 
  2. Sent:        7/25/96 1:48 PM
  3. Received:    7/25/96 2:31 PM
  4. From:        Scott Daniels, scottdfl@sprynet.com
  5. Reply-To:    ODF Interest, ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. Thanks for the tip. I will look into it.
  9.  
  10. ----------
  11. > From: Dave Wilson <dwilson@best.com>
  12. > To: OpenDoc Development Framework Discussion List
  13. <ODF-Interest@CILabs.ORG>
  14. > Subject: Re: 
  15. > Date: Thursday, July 25, 1996 12:03 AM
  16. > >Hi ODF Team,
  17. > >
  18. > >I have been doing some testing of my part embeded in both ODF parts &
  19. > >non-ODF parts, and I have found a problem when I am embeded that does
  20. not
  21. > >happen when not embeded. It seems that every time my view's Draw
  22. function
  23. > >is called (my view was invalidated), the view is erased beforehand.
  24. When
  25. > >not embeded this does not happen. This automatic erasing is a problem
  26. for
  27. > >me. Where is it happening and how can I circumvent it?
  28. > >
  29. > >Thanks,
  30. > >Scott
  31. > One way to handle this in a leaf part is to call Draw() directly instead
  32. of
  33. > doing the more common Invalidate(). If you call Draw() directly, be sure
  34. to
  35. > call it inside a double loop:
  36. > - iterate over all the frames in your presentation.
  37. > - iterate over all the facets of each frame.
  38. > A sample where this seems to work well (with no blinking when embedded)
  39. is
  40. > my Idler sample in the Developer University folder (on the DR5 CD).
  41. > -Dave
  42. > Dave Wilson
  43. > Personal Concepts
  44. > 635 Wellsbury Way
  45. > Palo Alto, CA 94306
  46. > voice: 415-494-6763
  47. > email: dwilson@best.com
  48.